﻿{% extends "base.html" %}
{% block title %} {{category.name}} - {{blog.title}} {% endblock %}
{% block topmenu %}{% endblock %}
{% block content%}
	<div id="page">
		<div id="content" class="content">
			<h1>Category:{{category.name}}</h1>
				{% for entry in entries %}
				<div class="post" id="post-{{entry.key}}"> 
					<h1 class="title"><a href="/{{ entry.link }}" rel="bookmark" title="Permanent Link to {{entry.title}}">{{entry.title}}</a></h1>
						<p class="meta">
							<a href="#">{{entry.author}}</a> posted on <span class="date">{{entry.createdate|datetz:"Y-m-d H:i"}}</span>
						</p>
						<span>
						<div class="entry">
						 {{entry.content_excerpt}}
						</div>
						</span>
				<p class="meta_bottom">
					Posted in {%for cate in entry.categories%}<a href="/category/{{cate.slug}}">{{cate.name}}</a> {%endfor%}
					&nbsp;&bull;&nbsp; 
					<a href="/{{entry.link}}#comments">Comments({{entry.commentcount}})&#187;</a> 
				</p>
				</div>
				{% endfor %}
			{% if entries%}
			<div id="pager">{% include "pager.html" %}</div>
			{% endif %}
	</div>		
	<!-- end #content -->
	{% include "sidebar.html" %}
	<!-- end #sidebar -->
	<div style="clear: both;">&nbsp;</div>
</div>  
<!-- end #page --> 
{% endblock %}